package com.java.jvalidator.framework;

public class ValidationExceptionMsg {
	public static final String CONFIG_FILE_NOT_EXIST_ERROR = "The config file doesn't exist for the class:";
	public static final String RULES_EMPTY_ERROR = "The property must config some validation rule!";
	public static final String ERROR_RULE_NAME = "There isn't a rule name called: ";
	public static final String MISSING_REQUIRED_ATTRIBUTE = "This attribute is required:";
	public static final String VALIDATION_TARGET_NULL_ERROR = "The validation target can't be null!";
	public static final String CLASS_CONFIG_EMPTY_ERROR = "This class config doesn't contians any information!";
	public static final String CLASS_NAME_NOT_EQUAL_ERROR = "This class name isn't the same!";
	public static final String FIELD_CONFIG_EXIST_ERROR = "This field config has existed, you can't add again!";
	public static final String CLASS_CONFIG_NOT_FOUND_ERROR = "There isn't validation config information for the class:";
	public static final String FIELD_CONFIG_NOT_FOUND_ERROR = "There isn't validation config information for the field:";
	public static final String CUSTOM_VALIDATOR_CONFIG_ERROR = "Something wrong when you config custom validator,check you data!";
	public static final String FIELD_CONFIG_EMPTY_ERROR = "This field doesn't contain any rule to validate!";
	public static final String CUSTOM_VALIDATOR_NOT_FOUND_ERROR = "There isn't a custom validator for the class:";
	public static final String MATCH_ATTRIBUTE_VALUE_ERROR = "match value must be true or false!";
	public static final String MIN_AND_MAX_BOTH_EMPTY_ERROR = "min and max attribute must have one at least!";
	public static final String CONTAINS_VALUE_ERROR = "contains value must be true or false!";
	public static final String OBJECT_CREATION_ERROR = " object can't be created!The class must have no-arguments constructor!";
	public static final String CLASS_NOT_FOUND = " class not found!";
	public static final String CUSTOM_TAG_ATTRIBUTE_ERROR = "custom attribute error!";
	public static final String COMPARISION_VALUE_ERROR = "comparison must be eq,ne,gt,lt,ge or le!";
	public static final String PROPERTY_TAG_NAME_ATTRIBUTE_ERROR = "The property tag must have a name attribute";
	public static final String CLASS_NAME_ATTRIBUTE_ERROR = "class name attribute can't be empty,and must be the same with the class!";
	public static final String CLASS_HAS_NO_NAME_ERROR = "class tag must have name attribute";
	public static final String TOO_MUCH_ROOT_ELEMENT_ERROR = "Each xml file must have one class tag as root element!";
	public static final String DOM_PARSER_CREATE_ERROR = "Dom Parser create error!";
	public static final String VALIDATION_ERROR = "Error occurs during validation!";
	public static final String CONDITIONP_VALUE_NOT_FOUND_ERROR = "The condition value can't be null!";
	public static final String NOT_DIGITAL_ERROR = "The object you passed isn't digital!";
	public static final String FIELD_NAME_NOT_EQUAL = "The field name isn't the same";
	public static final String VALIDATION_PARAMETER_ERROR = "Error occurs,the validation parameter is invalid!";
	public static final String CONDITION_PARAMETER_ERROR = "There are some errors occured at condition parameters";
	public static final String VALIDATOR_NOT_FOUND_ERROR = "The validator can't be found!";
	public static final String MIN_GREATER_THAN_MAX_ERROR = "The min value shouldn't be greater than max";
	public static final String ENUM_VALUE_ERROR = "The enum value error!There isn't such a enum!";
	public static final String UNSUPPORT_TYPE_ERROR = "Sorry,This type isn't support!";
	public static final String NOT_COMPATIBALE_COMPARE_TYPE = "Sorry,the two types can't compare!";
	public static final String VALUE_TARGET_TYPE_ERROR = "Parameter target or field type is invalid.";
	public static final String VALIDATOR_NOT_SUPPORT_ERROR = "Validator not support error!";
	public static final String FILED_NAME_EMPTY_ERROR = "Property name mustn't be empty!";
	public static final String COMPOSITE_ELEMENT_TAG_NAME_ERROR = "The name of the element must be 'composite'!";
	public static final String COMPOSITE_ELEMENT_ID_PROPERTY_ERROR = "The composite element must have a property called 'id'";
	public static final String COMPOSITE_DEFINE_NOT_EXIST = "The composite rule element doesn't exist for the name:";
	public static final String ERROR_MSG_EXPRESSION_ERROR = "The expression in the error msg is wrong:";
}
